<?php

namespace Modules\Common\Models\Validation;


/**
 *@property int $ebook_id
 *@property string $author_id
 */
trait EbookAuthorsValidation 
{


    public function createRules()
    {
         return [
            'rules' => [
                'ebook_id'=>'integer',
                'author_id'=>'integer',
                
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }

    public function updateRules()
    {
         return [
            'rules' => [
                'ebook_id'=>'integer',
                'author_id'=>'integer',
                
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }


}
